﻿using System;
using System.Collections.Generic;
using System.Linq;
using Crosland.Automotriz.Core;

namespace Crosland.Automotriz.Data.Dao.Linq
{
    public class clsTD_ColorDAO
    {
        AutomotrizEntities ContextodeObjs = new AutomotrizEntities();

        public List<TD_COLOR> listar()
        {
            List<TD_COLOR> lista = new List<TD_COLOR>();            
                var q = from c in ContextodeObjs.TD_COLOR
                        orderby c.DES_COLOR ascending
                        select c;
                lista = q.ToList();            
            return lista;
        }

    }
}
